home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / batch / ASK100.ARJ / ASKWAIT.TXT < prev   
Text File  |  1991-12-12  |  2KB  |  42 lines

  1.                 AskWait  Version 1.00
  2.                 by Jesse B. Gregg
  3.  
  4. AskWait is a simple utility for batch files that prompts the user for a response 
  5. to a question and sets the ERRORLEVEL appropriately.  While there are quite a 
  6. few utilities that do this same thing, AskWait adds the feature that in the 
  7. event that the user does not type any response within a specified amount of 
  8. time, AskWait will default to the first acceptable response and continue 
  9. operation.
  10.  
  11. The syntax for AskWait is as follows:
  12.  
  13. ASKWAIT
  14.  
  15. will display the copyright info and a brief description of the proper syntax.
  16.  
  17. ASKWAIT [prompt] [time to wait] [possible answers]
  18.  
  19. where [prompt] is any number of words you wish AskWait to display
  20.  
  21.       [time to wait] is the number of seconds you would like AskWait to wait
  22.                      for the response
  23.  
  24.       [possible answers] are the responses that AskWait will accept.
  25.  
  26. Example:  ASKWAIT Do you want to run CHKDSK? 10 yn
  27.  
  28.     This will display "Do you want to run CHKDSK?" and will wait for an answer
  29.     for 10 seconds and if no answer is given, AskWait will set the Errorlevel
  30.     to 0 and continue.
  31.  
  32. If you want to comment on the program or want to find the most current version 
  33. (if there are ever any more), I can be reached at PVCC BBS in Westfield, MA 
  34. (413) 568-4466.  There is no registration for AskWait so use it if you need it 
  35. and enjoy.
  36.  
  37.  
  38. AskWait was written in C++ with the Zortech 3.0 C++ Compiler.  AskWait is 
  39. released as freeware AS IS.  There are no guarantees regarding the use of this
  40. software, either explicit or implied.  The author takes no resposiblity for any 
  41. damage that use of this program may cause.
  42.